/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: ZJZ
 * @Date: 2021-09-01 15:21:28
 * @LastEditors: ZJZ
 * @LastEditTime: 2021-09-01 15:22:50
 */
plugins: [
    // http://vuejs.github.io/vue-loader/en/workflow/production.html
    new webpack.DefinePlugin({
        'process.env': env
    }),
    new UglifyJsPlugin({
        uglifyOptions: {
            compress: {
                warnings: false,
                //过滤console.log-start
                drop_console: true,
                pure_funcs: ['console.log']
                //过滤console.log-end
            }
        },
        sourceMap: config.build.productionSourceMap,
        parallel: true
    })
]
